package com.gzy.studentsociety.dao;

import com.gzy.studentsociety.entity.Member;
import com.gzy.studentsociety.entity.Student;

import java.sql.SQLException;
import java.util.List;

public interface MemberDao {
     Integer addMember(Member member) throws SQLException;
     List<Member> queryAllMember(Integer status, Integer socityId) throws SQLException;
//     List<Student> queryStudent(String name, String number) throws SQLException;
     Integer isMemberIn(Member member) throws SQLException;
     Integer deleteGraduated(Integer assId) throws SQLException;
     Integer deleteMember(Integer Id,Integer status) throws SQLException;
     Member queryByNumber(String number) throws SQLException;
}
